class GamePlay extends eui.Component implements  eui.UIComponent {

	public gobackBtn:eui.Button;

	public constructor() {
		super();
	}

	protected partAdded(partName:string,instance:any):void
	{
		super.partAdded(partName,instance);
	}


	protected childrenCreated():void
	{
		super.childrenCreated();

		this.gobackBtn.addEventListener(
			egret.TouchEvent.TOUCH_TAP,
			()=>{
				SceneManager.Shared().change('back');
			},
			this
		);
	}
	
}